package luzhin;

import luzhin.frames.*;
import java.io.*;

/**
 * Strategy making moves due to user's button pushes in the main frame.
 * @deprecated 
 * @author lacungus
 */
public class ManualStrategy extends Strategy implements Serializable {

	private static final long serialVersionUID = 234823897423489L;
	private AbstractMainFrameController controller;
	
	/**
	 * 
	 * @param controller Main frame controller.
	 */
	public ManualStrategy(AbstractMainFrameController controller) {
		this.controller = controller;
	}
	
	public Move makeMove(Board board) throws StrategyException {
		return controller.getMove();
	}
}
